package com.zxl.common.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zxw
 * @date 2023/4/3
 */
@ConfigurationProperties(prefix = "aliyun.oss")
@Component
@Data
public class OssCfg {


    private String endpoint;

    private String accessKeyId;

    private String accessKeySecret;

    private String bucketName;

    private String dirName;
}